---
layout: example.html
title: Custom Interactions
shortdesc: Example of a custom interaction.
docs: >
  This example demonstrates creating a custom interaction by subclassing `ol.interaction.Pointer`.
  Note that the built in interaction `ol.interaction.Translate` might be a better option for moving features.
tags: "drag, feature, vector, editing, custom, interaction"
---
<div id="map" class="map"></div>
